package pattern.behavioral.template.simple;

/**
 * @author: chaoyang.ren  
 * @date:Jun 2, 2017  
 * @time:2:17:50 PM   
 * @email:chaoyang.ren@foxmail.com  
 * @version: 1.0
 */
public class Test {

	public static void main(String[] args) {
		AbstractBeverageFactory beverage1 = new ColaProductionLine();
		beverage1.produce();
		
		System.out.println("----");
		
		AbstractBeverageFactory beverage2 = new SpriteProductionLine();
		beverage2.produce();
	}

}

